package pers.zb.cloud.service.upms.entity;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 角色操作日志
 */
@Data
@Table(name = "sys_role_operate_log")
public class SysRoleOperateLog {
	@Id
	@Column(name = "id")
	private Long id; //主键ID

	@Column(name = "operate_user")
	private String operateUser;//操作人账号

	@Column(name = "operate_ip")
	private String operateIp;//操作人IP

	@Column(name = "role_id")
	private Long roleId;//角色ID

	@Column(name = "role_name")
	private String roleName;//操作的角色名称

	@Column(name = "request_url")
	private String requestUrl;//请求地址

	@Column(name = "description")
	private String description;//说明

	@Column(name = "create_time")
	private Date createTime; //创建时间
}
